﻿/******************************************************************************/
/*     This file contains the descriptions of Atmel AVR microcontrollers      */
/*     for serial and parallel programmers                                    */
/******************************************************************************/
[
    /***** ATmega 8 *****/
    {
        "Model":        "ATmega 8",
        "ModelCode":    [0x1e, 0x93, 0x07],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 8192,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 64
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 64,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 512,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 1,
                                                       "WriteDelay": 9000
                                                   }
                            },
                        ]
    },
    
    /***** ATmega 8515 *****/
    {
        "Model":        "ATmega 8515",
        "ModelCode":    [0x1e, 0x93, 0x06],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 8192,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 64
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 64,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 512,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 1,
                                                       "WriteDelay": 9000
                                                   }
                            },
                        ]
    },
    
    /***** ATmega 162 *****/
    {
        "Model":        "ATmega 162",
        "ModelCode":    [0x1e, 0x94, 0x04],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 16384,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 128
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 128,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 512,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 4,
                                                       "WriteDelay": 9000
                                                   }
                            },
                        ]
    },
    
    /***** ATmega 48 *****/
    {
        "Model":        "ATmega 48",
        "ModelCode":    [0x1e, 0x92, 0x0A],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 4096,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 64
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 64,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 256,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 4,
                                                       "WriteDelay": 3600
                                                   }
                            },
                        ]
    },
    
    /***** ATmega 88 *****/
    {
        "Model":        "ATmega 88",
        "ModelCode":    [0x1e, 0x93, 0x0F],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 8192,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 64
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 64,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 512,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 4,
                                                       "WriteDelay": 3600
                                                   }
                            },
                        ]
    },
    
    /***** ATmega 168 *****/
    {
        "Model":        "ATmega 168",
        "ModelCode":    [0x1e, 0x94, 0x0B],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 16384,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 128
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 128,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 512,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 4,
                                                       "WriteDelay": 3600
                                                   }
                            },
                        ]
    }
    ,
    
    /***** ATmega 328 *****/
    {
        "Model":        "ATmega 328",
        "ModelCode":    [0x1e, 0x95, 0x0F],
        "Memory":       [
                            {
                                "Name": "Program Memory",
                                "MemorySize": 32768,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 128
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 128,
                                                       "WriteDelay": 4500
                                                   }
                            },
                            {
                                "Name": "EEPROM",
                                "MemorySize": 1024,
                                "EmptyValue": 0xFF,
                                "CanRead": true,
                                "CanWrite": true,
                                "CanErase": false,
                                "ParallelOptions": {
                                                       "PageSize": 4
                                                   },
                                "SerialOptions":   {
                                                       "PageSize": 4,
                                                       "WriteDelay": 3600
                                                   }
                            },
                        ]
    }
]